﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace RBAC.MaHaiBo.API.Application.Command.DeepProcessingCommand
{
    public class AddRawMaterialCommamd:IRequest<int>
    {
        /// <summary>
        /// 原料编号
        /// </summary>
        [Key]
        public int RawMaterialid { get; set; } = 0;

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? LOT { get; set; }
        /// <summary>
        /// 动态添加人物
        /// </summary>
        public int Uid { get; set; } = 0;

        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; } = "张三";
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; } = DateTime.Now;
    }
}
